package com.niiwoo.civet.trade.dto.response.orgloan;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

@Getter
@Setter
public class QueryOrgLoanInvestInfoReponseDTO implements Serializable {

    private static final long serialVersionUID = 312640308926675300L;
    private Long id;//投资ID
    private Long projectId;//项目ID
    private String borrowerUserId;//借款人ID
    private Byte borrowerGender;//借款人性别
    private String borrowerHeadImage;//借款人头像
    private String borrowerNickName;//借款人昵称
    private String loanCity;//借款人市
    private String loanArea;//借款人区
    private String  fullSuccessDate;//满标时间
    private String createTime;//发布时间
    private String title;//借款用途
    private BigDecimal borrowRate;//年化利率
    private Integer deadLine;//期限，期数
    private byte deadlineUnit;//借款期限单位(0:月，1:天)
    private BigDecimal borrowAmount;//总金额，合同金额
    private Byte status;//标的状态
    private BigDecimal investedAmount;//已投金额 =每份金额*投资份数
    private BigDecimal revenue;//预期收益
    private String  text;//结清文案
    private String contractUrl;//合同地址
}

